package com.wxb.service.impl;

import com.wxb.domain.MallFootprintEntity;
import com.wxb.mapper.MallFootprintMapper;
import com.wxb.service.IMallFootprintService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-30 14:31
 * @Version 1.0
 * @Description
 * @ClassName MallFootprintServiceImpl
 **/
@Service
public class MallFootprintServiceImpl implements IMallFootprintService {
    @Autowired
    private MallFootprintMapper footprintDao;


    public MallFootprintEntity queryObject(Integer id) {
        return footprintDao.queryObject(id);
    }


    public List<MallFootprintEntity> queryList(Map<String, Object> map) {
        return footprintDao.queryList(map);
    }
    public List<MallFootprintEntity> queryListFootprint(String userId) {
        return footprintDao.queryListFootprint(userId);
    }

    public List<MallFootprintEntity> shareList(Map<String, Object> map) {
        return footprintDao.shareList(map);
    }

    public int queryTotal(Map<String, Object> map) {
        return footprintDao.queryTotal(map);
    }


    public void save(MallFootprintEntity footprint) {
        footprintDao.save(footprint);
    }


    public void update(MallFootprintEntity footprint) {
        footprintDao.update(footprint);
    }


    public void delete(Integer id) {
        footprintDao.delete(id);
    }

    public void deleteByParam(Map<String, Object> map) {
        footprintDao.deleteByParam(map);
    }

    public void deleteBatch(Integer[] ids) {
        footprintDao.deleteBatch(ids);
    }
}
